package com.theima.innerclassdemo.test1.test3;

/**
 * @program: Myset
 * @description:
 * @author: xuejingjing
 * @create: 2021-06-13 15:45
 **/

/**
 * 静态成员内部类
 */
public class Test4staticClass {
    public static void main(String[] args) {
//外部类名.内部类名  对象名 = new 外部类名.内部类名()
        Outerr.Inner ins = new Outerr.Inner();
         ins.show();

         //调用static方法
         Outerr.Inner.show1();
    }
}

class Outerr{
    static class Inner{
        public void show(){
            System.out.println("Inner show");
        }
        public static void show1(){
            System.out.println("Inner show1");
        }
    }
}
